package com.itheima.pojo.client;

/**
 * @author ChenJunJie
 * @date 2022/6/19 16:17
 * 修改收货地址入参
 */
public class UpdateAddressByIdDto {
    /**
     * 地址id
     */
    private String id;
    /**
     * 收货人
     */
    private String consignee;
    /**
     * 电话
     */
    private String phone;
    /**
     * 性别
     */
    private String sex;
    /**
     * 详细地址
     */
    private String detail;
    /**
     *地址标签
     */
    private String label;
    /**
     *是否是默认地址
     */
    private Integer isDefault;
    /**
     *是否被删除
     */
    private Integer isDeleted;
    /**
     *修改人
     */
    private String updateUser;

    public UpdateAddressByIdDto() {
    }

    public UpdateAddressByIdDto(String id, String consignee, String phone, String sex, String detail, String label, Integer isDefault, Integer isDeleted, String updateUser) {
        this.id = id;
        this.consignee = consignee;
        this.phone = phone;
        this.sex = sex;
        this.detail = detail;
        this.label = label;
        this.isDefault = isDefault;
        this.isDeleted = isDeleted;
        this.updateUser = updateUser;
    }

    public String getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getConsignee() {
        return consignee;
    }

    public void setConsignee(String consignee) {
        this.consignee = consignee;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getDetail() {
        return detail;
    }

    public void setDetail(String detail) {
        this.detail = detail;
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }

    public Integer getIsDefault() {
        return isDefault;
    }

    public void setIsDefault(Integer isDefault) {
        this.isDefault = isDefault;
    }

    public Integer getIsDeleted() {
        return isDeleted;
    }

    public void setIsDeleted(Integer isDeleted) {
        this.isDeleted = isDeleted;
    }

    @Override
    public String toString() {
        return "UpdateAddressByIdDto{" +
                "id='" + id + '\'' +
                ", consignee='" + consignee + '\'' +
                ", phone='" + phone + '\'' +
                ", sex='" + sex + '\'' +
                ", detail='" + detail + '\'' +
                ", label='" + label + '\'' +
                ", isDefault=" + isDefault +
                ", isDeleted=" + isDeleted +
                '}';
    }
}
